﻿<!DOCTYPE html>
<html style="overflow: hidden;" page="AdminDefault">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@Model.SeoSettings.DefaultTitle</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
    <meta name="renderer" content="webkit" />
    <link href="~/Content/js/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Themes/ncdx/Content/css/framework-font.css" rel="stylesheet" />
    <link href="~/Themes/ncdx/Content/css/framework-theme.css" rel="stylesheet" />
    <link href="~/Themes/ncdx/Content/css/index.css" rel="stylesheet" />

    <script src="~/Content/js/jquery/jquery-2.1.1.min.js"></script>
    <script src="~/Content/js/bootstrap/bootstrap.js"></script>
    <script src="~/Content/js/dialog/dialog.js"></script>
    <script src="~/Content/js/cookie/jquery.cookie.js"></script>
    <script src="~/Content/js/framework-ui.js"></script>
    <script src="~/Content/js/framework-clientdata.js"></script>

    @*皮肤设置*@
    <style>
        .modal-body ul li {
            float: left;
            list-style: none;
            margin-left: 30px;
            width: 90px;
            height: 30px;
            border: 1px solid #999;
            cursor: pointer;
            margin-top: 10px;
            text-align: center;
            line-height: 30px;
            color: #fff;
        }

            .modal-body ul li i {
                display: none;
            }

            .modal-body ul li span.text-box {
                display: inline-block;
                margin-left: 5px;
            }

        .clearfix:before, .clearfix:after {
            content: "";
            display: table;
        }

        .clearfix:after {
            clear: both;
        }

        .clearfix {
            *zoom: 1; /*IE/7/6*/
        }
    </style>
    <script>
        window.console = window.console || (function () {
            var c = {};
            c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function () { };
            return c;
        })();
        function openMessage() {
            $.modalOpen({
                title: "消息列表",
                url: "/XXLB/XXLB/Index",
                width: "900px",
                height: "500px",
                btn: null,
                callBack: function (iframeId) {
                    top.frames[iframeId].submitForm();
                }
            });
        }
        function OpenCK(keyValue) {
            $.modalOpen({
                id: "Details",
                title: "个人信息",
                url: "/PersonnelOffice/Roster/Form_GRXXCK",
                width: "84%",
                height: "98%",
                btn: ["", '关闭'],
                btnclass: ["", 'btn btn-danger'],
            });
        }
        function ClearCache() {

            $.deleteForm({
                prompt: "注：您确定要清除浏览器缓存吗？",
                loading: "正在清除缓存...",
                url: "/Default/ClearCache",
                param: [],
                success: function () {
                    layer.msg('浏览器缓存清除成功');
                }
            })
        }
    </script>
</head>
<body style="overflow: hidden;">
    <div id="ajax-loader" style="cursor: progress; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: #fff; z-index: 10000; overflow: hidden;">
        <img src="~/Content/img/ajax-loader.gif" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;" />
    </div>
    <div id="theme-wrapper">
        <header class="navbar" id="header-navbar">
            <div class="container" style="padding-right: 0px;height:82px;">
                <a href="#" id="logo" style="float: left; line-height: 78px; font-size: 30px; color: white; }">@Model.SeoSettings.DefaultTitle</a>
                <div class="clearfix" style="height:82px;">
                    <div style="float:left; line-height:82px; font-size:12px;font-weight:bold;color:white;">
                        <span>（ 欢迎您！@ViewBag.UserName (@ViewBag.roleGroup)┆上次登录：@ViewBag.ProLogDateiP ）</span>
                    </div>
                    <div class="nav-no-collapse pull-right" id="header-nav" style="margin-top:17px;">
                        <ul class="nav navbar-nav pull-right">
                            <li class="dropdown profile-dropdown" style="    margin-right: 13px;">
                                <p style="margin-top:15px;color:#fff;font-size:12px;cursor:pointer;"><i class="fa fa-pencil-square-o"></i> <a class='menuItem' style="color:#fff;" href="../PersonnelOffice/YJFK/Index">问题反馈</a></p>
                            </li>
                            <li class="dropdown profile-dropdown" onclick="openMessage()">
                                <p style="margin-top:15px;color:#fff;font-size:12px;cursor:pointer;"><i class="fa fa-bell"></i>&nbsp;消息(<span>@ViewBag.MessageCount</span>)</p>
                            </li>
                            <li class="dropdown profile-dropdown">
                                <a href="#" class="dropdown" data-toggle="dropdown">
                                    <img src="@ViewBag.headImg" alt="" />
                                    <span class="hidden-xs">@ViewBag.UserName</span>
                                </a>
                                <ul class="dropdown-menu pull-right">
                                    <li onclick="OpenCK()"><a><i class="fa fa-user"></i>个人信息</a></li>
                                    <li><a class="menuItem" data-id="userInfo" href="/SystemManage/RoleWorker/RevisePassword?keyType=1&keyValue=@ViewBag.UserNum&realName=@ViewBag.UserName"><i class="fa fa-key"></i>修改密码</a></li>
                                    <li><a href="javascript:void(0);" onclick="ClearCache()"><i class="fa fa-trash-o"></i>清空缓存</a></li>
                                    <li><a href="javascript:void(0);" data-toggle="modal" data-target="#skinModal"><i class="fa fa-paint-brush"></i>皮肤设置</a></li>
                                    <li class="divider"></li>
                                    <li><a href="/Login?sinOut=true"><i class="ace-icon fa fa-power-off"></i>安全退出</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </header>
        <div id="page-wrapper" class="container">
            <div class="row">
                <div id="nav-col">
                    <section id="col-left" class="col-left-nano">
                        <div class="col-left-nano-content" id="sidebar-nav">
                            <!--左边导航-->
                            <ul class="sidebar-menu" >
                            </ul>
                        </div>
                    </section>
                </div>
                <!--中间内容-->
                <div id="content-wrapper">
                    <div class="content-tabs">
                        <button class="roll-nav roll-left tabLeft">
                            <i class="fa fa-backward"></i>
                        </button>
                        <nav class="page-tabs menuTabs">
                            <div class="page-tabs-content" style="margin-left: 0px;">
                                <a href="javascript:;" class="menuTab active" data-id="/Default/MyDesktop">个人桌面</a>
                            </div>
                        </nav>
                        <button class="roll-nav roll-right tabRight" style="height:27px;line-height:27px;">
                            <i class="fa fa-forward" style="margin-left: 3px;"></i>
                        </button>
                        <div class="btn-group roll-nav roll-right" style="height:27px;line-height:27px;">
                            <button class="dropdown tabClose" data-toggle="dropdown">
                                页签操作<i class="fa fa-caret-down" style="padding-left: 3px;"></i>
                            </button>
                            <ul class="dropdown-menu dropdown-menu-right">
                                <li><a class="tabReload" href="javascript:void(0);">刷新当前</a></li>
                                <li><a class="tabCloseCurrent" href="javascript:void(0);">关闭当前</a></li>
                                <li><a class="tabCloseAll" href="javascript:void(0);">全部关闭</a></li>
                                <li><a class="tabCloseOther" href="javascript:void(0);">除此之外全部关闭</a></li>
                            </ul>
                        </div>
                        <button class="roll-nav roll-right fullscreen" style="height:27px;line-height:27px;"><i class="fa fa-arrows-alt"></i></button>
                    </div>
                    <div class="content-iframe" style="background-color: #fff; overflow: hidden;">
                        <div class="mainContent" id="content-main" style="margin: 10px; margin-bottom: 0px; padding: 0;">
                            <iframe class="NFine_iframe" width="100%" height="100%" src="/Home/AdminDesktop" frameborder="0" data-id="/Default/MyDesktop"></iframe>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="loadingPage" style="display: none;">
        <div class="loading-shade"></div>
        <div class="loading-content" onclick="$.loading(false)">数据加载中，请稍后…</div>
    </div>

    @*皮肤设置模态框*@
    <div class="modal fade" id="skinModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content" style="margin-top:20%;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        皮肤设置
                    </h4>
                </div>
                <div id="modalBody" class="modal-body" style="padding-top:30px;padding-bottom:30px;">
                    <ul class="clearfix">
                        <li style="margin-left:0;background-color:#2ecc71;"><i>theme-white</i><span class="text-box">草绿色</span></li>
                        <li style="background-color:#1ABC9C;"><i>theme-blue-gradient</i><span class="text-box">绿色</span></li>
                        <li style="background-color:#6ff3ad;"><i>theme-greenSea</i><span class="text-box">亮绿色</span></li>
                        <li style="background-color:#9972B5;"><i>theme-amethyst</i><span class="text-box">紫色</span></li>
                        <li style="margin-left:0;background-color:#7FC8BA;"><i>theme-blue</i><span class="text-box">淡绿色</span></li>
                        <li style="background-color:#f4786e;"><i>theme-red</i><span class="text-box">红色</span></li>
                        <li style="background-color:#005bac;"><i>theme-whbl</i><span class="text-box">门户色</span></li>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="refreshView()">
                        提交更改
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>

    <script>
        function refreshView() {
            $('.tabReload').click();
        }
    </script>

    <script src="@Url.Scrpit("/Content/js/agile/AdminDefault/index.js")"></script>
    <script src="@Url.Scrpit("/Content/js/agile/AdminDefault/indextab.js")"></script>
    <script src="~/Content/js/loading/pace.min.js"></script>
</body>
</html>
